using System;

namespace dnA.Math{
	
	/// <summary>Define an algorithm.</summary>
	public interface IAlgorithm	{
		
		/// <summary>Computes the algorithm.</summary>
		void Compute(); 
		
		/// <summary>Informs user that that computation has began.</summary>
		event EventHandler BeginComputation; 
		
		/// <summary>Informs user that that computation has finished.</summary>
		event EventHandler EndComputation; 
	}
}
